Modify test cases to support logstash_version
Improve compatibility with case-sensitive filesystems