updating tests to newer syntax