testing keyboard callback