Fix fname test.