Updated test cases for issue 1269