Move local and SSH tests into their own files