add tests for complete
fix: use regressor in regression test