test script for smaller programs