Fixed lib tests