unit test sample added and profile negation added. Also fixed bug for jedis on delete