tests ported to minitest with ruby 1.9.3p547