switched tests from nose to pytest refs #2