CLN: Move imports and test skip to top of file