Add tests that packages depend on bash …
This commit adds bats tests that the RPM and Debian packages depend on bash. Relates elastic#18292