add test event logging in the build file