Use Minitest, improve the method by double assignment