apply testing in build time