fix false positive in api source test by using an explicit flag