more legal test corrections