Move function to the inner test header