cnc: 1. full coverage except auth. 2. pep8 fixes