Reducing integrated circuit test cost through improvements in multisite testing and built-in self-test