try to fix import errors by executing py.test differently