Moved the constant tests in the right block.
Support for the default global variables.

This commit fixes #30.