Fix Image detect test