prelim unit tests