extend verbose mode in core test to print all diffs
code formatting clean up for core files