Rewrite linked-list (LbsList) and add test suite