substitutions options for more flexible search, jasmine tests written