Adjusted frame_threshold to 7MB.
Added test script.