initial tests and infra for testing
rename config -> CONFIG; makes pylint happier
rename f -> func; make pylint happier
finish dealing with pylint