Fix test leaking error_mode, fix equality check for VariableLookup
Merge pull request #472 from Shopify/fix-leaky-test

Fix test leaking error_mode, fix equality check for VariableLookup