Fix img tests.