added a test file

I have added a test course and file to make the concept easier to
understand.