test script for dnn