add unit test for narrative_controller and  clean the testing uploaded files