fix image tests