Removed some commented out code that was moved to another function and cleaned up the tests.
Moved imprt statements to decrease redundancy.
Got rid of the redundancy for getting objects from the test database, passing them into each test as self instead and fixed tearDown method.
Added a test case that catches a current bug that is we are going to focus on fixing.