Add a missing unit test for file input with an suffix and rename some unit test method.