rewrite failed test