1. Implements ksm test cases. 2. Minor change in Makefile, adds -lrt option. 3. For ept, change the threshold to 1500.