if you write the tests as a methods on a class instead, you can just decorate the class (once) instead of each time