Fix: 0 value wrong interpretation
add: test for zero val
Merge pull request #17 from vaad2/master

Fix: wrong implementation of 0 value.