shards: add test for no shards loading and crashes (#518)
This is repentance for introducing this bug and others fixing it. This
adds a test to ensure we start up correctly if there are no shards to
load.
Test Plan: Revert the fix 54c8cf0c and check that test fails.