bug #1562 - new tests