implementation to make spec for search for an exact match pass