added status validations and tests