ehvatum's unit tests