rewrite test following ms2ger's comments