add test code for investigation