Fix core tests for Python 3 (actually imported + fixes).
Fix bug that caused commands like '@google google google google translate' to be valid. Closes GH-19.