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