Add test files and validate gradle 2 support.