Replacing hook service in get_access_sql_suffix unit tests to prevent
plugins from breaking future tests. #3047