Added more tests for the get_access_sql_suffix plugin hook. #3047