corrected fragile unit test