basic bitset based impl, test