Add compile-time not/or/and logic operations. Added tests too.