added test script for Lecture 2