Refactoring test (from require to require_relative)