Add test for new PROFILE prefix on log messages