#000 - Fix some warnings. Only in test files.
#000 - Fix some warning. Simple ones in non-test files.
#000 - Fix test.

* Earlier, the test was doing new Date(2008, 10, 12), which gives a date of '12 November, 3908'
  because the constructor adds 1900, just for the heck of it. So, this code change brings that
  behaviour back. Reference: http://docs.oracle.com/javase/6/docs/api/java/util/Date.html#Date(int, int, int)
Merge remote-tracking branch 'origin/master' into fix_warnings
Merge pull request #393 from arvindsv/fix_warnings

Fix warnings
Merge branch 'master' into oauth2_provider