Sample code and test that illustrate how to use JCS.