renamed variable and function which was shadowing another test