Fix Fedora case statement and install sqlite3 from gem

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #937 from kbarber/maint/1.6.x/more-testing-fixes

Fix Fedora case statement and install sqlite3 from gem