fixed ks test
updated readme with example