Fixed dao tests by specifying another relative path of where the database is located.