tests for dao, service, controller (by curl)