unit test model - cancel button