Update test to use ssh flag