gitignore dist
expose loader registry on define
split tests into multiple files