Allowing TestCase to be reused, checking if the function was already decorated