Variables scope test