asm6: add test

This test uses ``chdir testpath`` instead of passing the full path of the fixture file because ``asm6`` seems to misinterpret a Unix-style path as DOS-style command line switches.