Updated test script

Added test for component labeling and convex hull function.