fix key observer test