test/bitops: add bit operations test case