We don't search for static test begin/end hooks. The idea, IIRC, was that these are global for all tests so it does not make sense to allow them to be file level static.
See also getLocalHooks/getGlobalHooks.
But as I have just noticed in MIES, I don't remembered that, so I had to fix it in AllenInstitute/MIES@05a4f76.
We should bail out if we find static test begin/end hooks to prevent similiar errors in the future.