fix pep8 inconsistencies
helpers for unkown commands tests added
remove cruft comments