unit tests lib, simple tests