seperate tests into unit/integration
refactor loader test
refactor tests
write invalid call tests