typo fix
fixed storing boolean value
added more tests; fixes #4