testCaseFile() uses DeepEqual and more err checking