Updated docblock for prepareContents
Added tests for main class
Added tests for file paths