test clearing of model