added test for bug #11
resolved test for bug #11