Added needed tests in DaoHelperTest

Tests need to be implemented
Refactored changes in the DAO to throw exceptions
Added new tests to DaoHelperTest