Added tests for KSP.