Testing for imagePath