cleanup
fix tests
use minitest reporters
extract duration calculations into own modules