Testing a simple DAO