Refactored base test case classes to reduce bootstrapping to a minimum for tests which do not require models (the majority of tests).