Upgrading escope version and fixing related bugs (Closes #296)

Closes #296 Escope 1.0.0 fixed the issue described in the ticket. Fixing some broken unittests that were passing because they were expecting incorrect results.