Added tests for generating Output Box
changed snake_case variable and function names to camelCase according to JS naming conventions