Update tests for search API to support orderBy param