Remove key's trailing whitespaces + Unit Testing setup

mentioned in https://github.com/questbeat/Lin/issues/19