testing for required property