Add test files and validate gradle 2 support.
Merge pull request #1 from nanliu/ver2

Add test files and validate gradle 2 support.