Added test for Required / hasValue
Exposed a call for rule calls

Added options for rule calls for use in tests. Also removed some
whitespace that jshint disliked.