Added test files and some codes about SHAPE_COMPONENTs