Fix $test variable name