Added functional test script for swanson dg