Fix boolean parsing, add zeros test