The SCL User's Guide attempts to be both a tutorial and a reference document. This tutorial section attempts to present information in sequence that makes sense for a new user.
Note that SCL is a case sensitive, free formatted language much like C or java. So the following two programs are equivalent.
testbench for PIC32MX360F512L is end testbench;
and
testbench for PIC32MX360F512L is
end testbench;