Updated test execution and added native debug macro