Code format
Add newWay test reusing Random instance