add sanity check for test
use the new examples in the Java rules as test input