going towards unittest compilation with new api