synctest.erl

synctest:start(1000000,0.1)

If run with delaytime 0.01 if will produce 
{error,
           {function_clause,
               [{cqerl_protocol,decode_response_term,
                    [{cqerl_frame,false,undefined,false,8,43},<<129,0,94,8>>],
                    [{file,"src/cqerl_protocol.erl"},{line,486}]},
                {cqerl_protocol,response_frame,2,
                    [{file,"src/cqerl_protocol.erl"},{line,469}]},
                {cqerl_client,handle_info,3,
                    [{file,"src/cqerl_client.erl"},{line,393}]},
                {gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,494}]},
                {proc_lib,init_p_do_apply,3,
                    [{file,"proc_lib.erl"},{line,227}]}]}}