corrected errors in unit tests