Fixed startup issue caused by a change in the PR

Added a missing test so it should be clear in the future how startup is supposed to work.