Allowing before and after hooks to be added if no immediate sibling tests exist