Test build with permission