test(lib): start adding tests