fixed test format in model