FIXED: some major bugs with the loop counter in test app