unittest/setup: sets component_path variable

Change-Id: I46e1ba505fbcfa05c9dfa06091bc32ef22dab66a
unittests/run: move testing logic to component

Change-Id: I04fdf4f8e952f5e9b602455caa78ead1ddad82f1