#30 add tests for near endpoint and move postgres find to /find