fixed configs for prod and test
Added JPA dependcy