added tests; updated changelog