Correct type warnings in BiMap test.