test(lib): Add requireComponent coverage