added test coverage for createCallback