New test script for functional tests