Fix gpgkey path and add rspec test coverage

This PR is in reference to Issue #3 and to also add Rspec test coverage for future changes.