add lib tests into main project