Add tests for Model::clear()