adds test cases for #14
fixes the incorrect default value for negative boolean argument; fixes #14