dao tests and some parametrized test attempt