added the code to migrate the create relationship to relationship controller, and change the test