WSOTWO-138: Improved branch widget unit test