Move test package from corpus to xt/packages, and add a few more tests