minor tweaks for database-tests; "get by id" end-point test created