add some missing key codes to stupid_core
test user input
run only tests from tests/ with tox

this fixes an ImportError