Improve tests on build/rc tags.