added check_trafo.c tests of all four functions in traffic