Fixed missing comma with default values, and fixed tests after adding searchoptions