fix DB sync so it respects the correct NODE_ENV
re-sync DB before each test case; basic GET tests