basic unit testing for class queries.