Refactoring ApplicationEntTest for readability and implement use of DatabaseUtil.