test key up function