- do not use deprecated methods in unit tests