Tests that console.profile/profileEnd will record CPU profile when inspector front-end is connected. SUCCESS: retrieved "42" profile SUCCESS: found "collectProfiles" function in the profile