Add test to check that bitarray is GC'd correctly