added tests for depth search