Implement fix suggested by dfee for Issue #151

- Added the test to expose the bug that
  was reported.  Updated the documentation.