Added tests and improvement around Model#exists? for sec indexes