improved tsting, verifying keys found in tree