Test python-logic vs new logic