Fix name 'test' is not defined section