Tried to configure spring test part 2. Added packages to scan into spring configuration file. Deleting rudiment persistence.xml after packages-to-scan prop.