added an actual test using testdb