test dicts rather than dict keys only