* Removed over-nesting in resources file and added test * Update test_diagram.py updated doc string of test function