add test file for intensity loop