Removed unnecessary line in UserDao::getTrackedTasks(). Added some more tests in DaoTest files.