Added toggle soft keyboard test function to mock controller.