Add a test routine for a unix impl. of kbhit.