fix(validator): Fixes chain method and tests for this method