Test session injection into components