Allow dist install tests

These changes allow a dist install.
We should probably use autoload-dev in the core too. I can change that up :)