= fix #238: added test to assert expected behavior