Added complex boolean expression tests