Verify branches after parsing

Will be useful later on.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
test: fix test names

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Remove unused statements

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>