created two helper methods which helps writing unit tests for verifyUpload()
added few more helper methods
first working test, changed helper methods to public because private of course will be ignored by PHPUnit
added more test cases
refactored unit tests