don't use self.env in the test case

it is redefined by recent versions of odoo