Testing that we can access scope in various functions.