Add tests for #13
Check if incoming value is nil
Merge pull request #14 from lestrrat/nil_on_if_block

Nil on if block