test script for adding components