fixed previous commit: test class now uses setup method to initialize stuff for tests.