Restructure Klaviyo detector pattern tests (#5026)