new test case for problem 1019