Added assertion to onBootstrap test