Eng 6596 generate sp from catalog

I have no idea about how to write a test case for this, even after the short discussion with Paul yesterday. It seems that we need add at least a catalog jar file, and a golden standard java file in the test.