cleanup jasmine tests
and added changelog entry for bugfix #4005