Added applicationControllerTest and some code to add primitive data into DB