Test replace keyboard