Allow keeping explored branches as configurable, enhance test