Adds new testcase for get_components