adding tests for Issue #404
adding tests for Issue #404


Former-commit-id: 688e70c543e0a2982a585ff0269833ce3cbdc6c2 [formerly 2152206ecf5878e10382651558f47c6071f1a0de]
Former-commit-id: 525d3da1974771bd02c0e0067fa8aaa3ca31f69e
andrewplummer/Sugar,romancow/Sugar,andrewplummer/Sugar,romancow/Sugar