Separate tests for mutable and immutable key.