tests fully ported for lucy, mostly passing