def filter_report(report):
    """Filters a test report dict down to only the interesting keys."""

    INTERESTING_KEYS = [
        'behavior',
        'behaviorClose',
        'expected',
        'received',
        'expectedClose',
        'remoteCloseCode'
    ]

    return { key: report[key] for key in INTERESTING_KEYS }