reading from testdb