wrote unit test of controllers and rewrite migration for assigned asset