update bitvector test and resizing