add changelog.md
Method mocking has variable scoping.
refactor namespace