changed function call signature for spectrum_pi in test
use _version2int instead if version2int