change test to newer syntax