Inside your run() function, I believe it's a syntax error to use the word "function" ... just get rid of that and then it will complete the Test.

Like this:
Code:
function run()
{
set(PARAMETERS);
BarPeriod = 30;
StartDate = 2011;
EndDate = 2013;
trenta();
doscents();
NumWFOCycles = 3;
}