how can we test that parseBundle() is going to resolve the locator.ready promise?