run lib tests