Added average testing to reduce noise