Linked map tests
Linked map tests and fixed some bags in linked map