Add tests for keyboard manager push/pop.