fixed context component scan in tests