Tests for BooleanExpression class.