addresses all deprecation warnings that were surfaced by tests