Add SortedMapAdapterTest. Start standardising first/last behaviour on empty collections.