Added tests for validationStateClass