removed unused methods, change Long to long and added JPA facet for JUnit testing