You should be able to import this directly inside the rel event unittest bloc. It limits the scope more.