Issue #929: Added a few test cases