Add unit test for the ssh password regex matching