we should also change the test examples to use the new style and not the deprecated ones (maybe in a later PR after assuring that it's BC)