test script with multiple references