Tests for is_solitary and shifted keys.