delete code information for general tests
add missing '}'