Using arrayMap instead or arrayEach when mapping items
Fixed searchOnClientSide so that it follows coding standards
Added client side search test