Test boolean expression parser