add a crude matching for tests