Added function to test movement bound to key