add test case script to source control
remove duplicate key press handling logic