Added 5 failing tests
Fixed branching cases