Fixed dao unit test problem