added modelstate test