Added a spec that fails when type: Integer and nil is passed

Just to be clear, I flip-flopped right below my answer. I think that if you say `optional :x, type: Integer` and pass a `nil`, that should fail with a validation error.