delete preprocessing by team function; add unittest