Add test case relate to bug1749. Also corrected command echo lines which don't match with actual tests. Tested on Jam.