Added defaultVariables option and tests for it
Merge pull request #311 from sergey-trotsyuk/issue-307

Added defaultVariables option and tests for it