Add tests to verify that required_attr(s) validates options