Updated tests for new ssh feautre.
Added test for keys.