Update to minitest
Prevent infinite loops with cyclical references
Make Loader::wait a hash so we can do non-integer based ids