[ts.init & test_classes] fix more pylint issues