Merge pull request #354 from apache/move_ks_test

move KS test from Util to its own class