Split local and SSH tests into separate classes