Replace hardcoded getNbits in testSystemFactory.

Also, adjust fault tolerance (.1% is cutting it a little close.)