tests for the linkedmap