updated how component nodes work and added a little more to the tests. Also added queries to filter by app_name and app_id