The correspondent end-to-end test has been ported. The variable definition still needs to be checked.