expose loader registry on define
split tests into multiple files