api tests for graph and template endpoints