Wrote some more tests for /entries and implemented some more error checking for the GET functions. Also cleaned imports in a bunch of files.