more tests for lib