fix tests to match

adds rake/minitest to development_dependencies
loosens error expectations to match instead of equality
this ensures we get the needed info but is more flexible