updated test script to new invocation