Separate tests and implement test for config.
Merge pull request #10 from troopjs/feature/safe-arguments

Separate tests and implement test for config.