add tests for issue353
2 files changed