Tests for bug 1035144