Adding function unit tests. Changing test script to take input file to be in line with class requirements. Adding .cpsl extension.