Updated some tests to use the check framework and silenced a PendingDeprecationWarning.