Fix underflow problem when cursor pos is 0
Add test cases for Up/Down keys
Update test case for Up

Closed #94 due to false report.
Add dummy candidate keyboardless APIs