Code cleanup

* Removes compiler warning in ValueChecks.
* Supresses compiler warnings in test using Mockito.
* Removes unused method ValueChecks.notDefined()

Ping @adamvoncorswant & @oskarwiksten 

Changes according to discussion in #10 after merge.