fix some tests to run on minitest > 5
fix tests to run on AS 4.1, 4.0, 3.x, minitest 4.x, 5.3