refactoring test_helper and setting up assignment and associated models