Completed a unit tests