added frequency tests