Added calls to setCurrentMapping before calling create in test cases to account for new requirement.
Added unit test for issue #76 to verify solution.