Adding tests for issues 1764 and 1765.