Fix issue with decorated test not being tested