added test for BZ 947485