prepare to use pytest rather than nosetest