moved from nose to py.test