Fix whole file testing.