Use ActiveSupport's minitest
Keep custom js out of application.js
Turn for nice test output