foreach and take(8) test