Test script for assignment 2