Running tests on Discourse Docker

After some problems running a simple test suite consisting only of stubs, I hit a lot of problems getting tests working.

These are the steps that seemed to fix the problem

d/reset_db

d/migrate

d/rake plugin:spec['plugin-name']