Switch to py.test to circumvent a bug in older versions of nose