updated season model and added tests