fix make coverage line, also test branching