Locked minitest to v4, fixed bugs related to dependencies.