Add rake task to run test scripts for chapters 1-3.

Use `TESTOPTS=-v rake` to obtain verbose output.