Move test support code inside t/ again

Now it works with `make test` as well. This closes #25