Just checked. My best guess here is that -i invokes interaction, which won't work in a chroot.The best way to pass input inside a chroot is via either STDIN, or redirecting input with pipes.
AlsoJust a suggestion: Autopkgtests look fine to me, but I would suggest to also add other .tfa and .msf files in ./dev/data directory and run tests on them.