Added guard to auto-run tests when changed