Issue #165: test case, fixed a typo