fixing minitests

partially reverting commit f60d47e3fd7d2b4143e7a561a6efc530c72b51fd
which disabled the minitest task in production
=begin and =end are still needed or the tests will not run