clearing lastprofileid in test harness