fix TESTDAO exceptions