Fixed unit test to mock register component response data properly

Signed-off-by: Joanna Rozestwinska <joanna.rozestwinska@intel.com>