Fixes bug where a test is run on all variables instead of a
specific variable.