* added fail-fast to strategy in versions.yml * refactored logic in main that was causing test to fail