moved common stuff to TestMapsUtil. wrote tests for relations and fixed bug in graph evaluation