added test for Helpers.createInstance