Added a testing unit and user file reading.