add tests
seperate out jpa dao and jdbc dao interface