-finished the unit tests