support non-Bookshelf contexts in the test client