UnitTestHelper: removed unnecessary logic that caused errors since PDO was forced to throw exceptions when needed
Middleware: fixed spelling mistakes
UserDaoTest: added more tests and made some PSR2 compliance changes
BadgeDaoTest: PSR2 compliance