Frequency database and tests