Add comments and tests for set_breakpoint