Updated the test to read a component file