More testing of statevalidator

Issue #41