Making portal version test configurable