tests: moved example.go to graph_test.go
tests: add testing script