Fixes bug in unit test.

The default configuration options were not valid, so every unit test was not
testing properly each case.

A validation unit test was added to ensure that the defaults is valid.
Merge pull request #7 from gjorquera/testBug

Fixes bug in unit test.