badges, PyYAML + pre-testing fixes