WL-2063: Replace now deprecated unit test