- do not use deprecated methods for unit tests