added getKeyPair and a start to a testfile