update .gitignore
various enhancements
add test for check_matching_versions