Unit test for registering dao error.