[#5] Fix JPA implementation of Team DAO according to tests