failing test corrected