add some lib tests