Create a single if_root test skipping decorator.
Skip tests if not root.
Lint fixes.