Move files with a prepared json. Refactor the StagesControllerTest