results dao and more testcases