Feature/validation for greater than and less than

Return true when option is undefined or null
Updated test cases