rewrited tests