cleaned up frequency tests