Translated test to the new syntax.