Bitops and arrays tests

The tests for (most of) #39 and `bit-not`, which was missing.