test handling all the branches now