Fix spacing in test files
Syntax formatting: extra newline
Move array processing to node.append to handle arrays inside internals
Move array assertions to correct test
New output handler test file
Consistent spacing in test files