tests for bool parser