Convert Purchase's tests to minitest's unit syntax