closed bug #22 - implement test exercising the defect