Added more unittests for Distribution._sign_string

* testing the case where a file name is passed in for private_key_file
* testing the case where a file objects is passed in for private_key_file
Merge pull request #1271 from seandst/develop

Added more unittests for Distribution._sign_string