I would set the branch name here. If the branch is nil in the factory, you may never see this test fail, even if it wasn't working properly. By specifying a branch name, you can check it against that same name and be sure it works properly.