These tests intentionally use the deprecated method. Eventually this code in the sections can be deleted.