Add test for LOGSTASH-820 support
Add File.expand_path monkeypatch for JRUBY-6970