Patch to fix issue #5.
Added a test case for #5, confirming the bug.
Merge branch 'dev'
Moved lib-dev to lib.
Merge branch 'dev'
Merge branch 'dev'
Merge branch 'dev'
Updated documentation link in README.