Added more tests for image operations