P-regulator implemented. Test utils updated.