testthebehaviourofasimple2-portORgate