Added a log in profileTest2