Fixed error in model test.