make test: support out-of-tree tests