Modified the SearchOption enum to a flags enum, to allow setting multiple options at once.
Added unit tests accordingly.