created order model and basic tests