Rakefile: tying VERSION detection to testing (better gate for 'needs new version' than staging)