Fix tests in FAST_COMPILE
Use integer division for python 3 in test