added test
added limit to searchDCase
implemented searchDCase
fixed non offset