add component tests to build script