fix Graph.isGraph() and associated test
add base to test db
fix test beforeEach
add failing test for basic relation