fixing some issues with component context and adding async helper tests against filesystem files