Rewrite last test