fix named stack var references
add test cases for stack var references
update email address in setup.py