Updated Gemfile.lock and added method to encode a test message to the public API