Update test case and remove temp file.

Update a test case about function redefinition;
Notice there are some temp files in the repository, remove them.