unit test added and CHANGELOG.md added