add test script to check syntax of all sh scripts in assets/

It is often hard to test these scripts, since they have to be run after the
end of a long process, we can do a quick check here to make sure that the
syntax is OK.