Removing spurious system out
(cherry picked from commit 23696886c418d6f67b238df01bf1cd37e86a6f5b)
BZ-1013682: Adding additional test case
(cherry picked from commit ef7cfde43c1b2dd7e1ab5627d3baaaf3ccfd0ab1)