Test monobit in python