[Python Trik Test] Added changing bits in encoder