Add more traits, tests for SmallMap.