added some basic tests for dynamic search