Issue #3463371 by greggles: Update unit tests for "Argument #1 ($locator) must be of type string, ..."
Closes #3463371