Allow dist install tests

These changes allow a dist install.
Couldn't these be [autoload-dev](https://getcomposer.org/doc/04-schema.md#autoload-dev) instead>