Re-ordering tests
Added a test for upgrades when using git