Fix test-asm for py3