Added: JUnit testing to fully test all public functions in ApplicationDB
with expected behaviour