added case for test (reverse-merged from commit 9a5e460698c534c20c88f6825caf7bf91ffa1390)