more NewPIndexImpl() testing
added ErrorAfterCfg for testing
testing CheckVersion() on Cfg error during version upgrade