Add tests

Add test for GET functionality. Still to-do: re-work get_entities and add tests for higher level queries