[+]DAO implementation and testing on in-memory db