Add tests and samples for legacy bash8

This change introduces some basic tests for bash8
checks, including a sample file that is used to verify
checked errors before/in the 0.1.0 release.

Change-Id: Icc8f9889e5539949a6475769d1083cd619c2c79e