junit tests are now working. need to test from service layer as service layer is transactional.