remove local declarations at the top
add luajit cdata test