Added a functional test that verifies that anding expressions work.
Added a functional test that verifies that oring expressions work.