fix makefile test bin generation
add panic wrappers