Test that demorgan's law is instcombined successfully