Fixed test to run under gradle.
Upgraded to gradle 1.11
Updated with the real sample input/output