[core] fix aspects tests

Aspects must be defined before components