tests: removed undefined var