Build: Include test folder in dist branches

Fixes gh-1631