Added a Test class for easy testing out of flashtool