bitand/bitor compat for tests