Added a few regression tests before committing a patch.

Test PR to get tests running. Sadly, the tests require Solr to be installed, configured, and working even when testing ES specific tests.