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