added predictable wrapper for bitset
added digitizer test cases