Modified method for getting version
writeTextFile: altered return values for callback
Created a basic test case