Added mocked test for Flush command
Added mocked test for Branch command
Fixed type in the comments of the Branch command