test helpers to simplify setup for dict and pool