fixed coverage with py.test