Added a test case for bug #913.
Merged pull request #64