fix the test for apc bc and non bc mode