Decoupling DAO for lists and preparing a resource test