Added tests for PublicKey class
Travis.ci configuration added