Fix server terminating before tests run for MiniTest
Set custom module when minutest.rb required
Add missing test
Merge remote-tracking branch 'analog/fix_for_minitest'