Fixed some unit tests related to n2versionIndex