moved over the existing tests
got rid of a java 8 warning, and slightly tweaked the formatting.
Merge pull request #5 from flightstats/httptemplate-tests

moved over the existing tests