Test that KeyError is raised by LobObject when key is invalid