Update test to check if variable is added.