Add a test case for loopback:component