PHPUnit testing the Model reset function, and fixing bugs with it.