Fix isset operator to promote local-variables and execute isset tests

This should address #619.