fixing models' tests