Fixed issues with repex nosetests.