Backend on spring and hibernate and tests on JUnit