move tests to a new package
Implement JPA Dao, pass test and set in controller