removed some warnings and exclude demo/testapi to test