Need to convert this to minitest per @thbishop's comment in old PR