Add sid checks when start/end testing.