make tests almost compile