init test box for single code snippet