Add test for grabbing variable.