made changes to facilitate testing
created test file.