corrected unitTests