lib tests