Making some test cases and base classes so that I can start working on
support for joins.