Added reassigning associations. TODO: test has_one relationship