tests for validator included