ticket:3 rewriting test