add some test,and change the FileController