added test for localImageCreator, and this test passes ,solves #36