program now uses LoaderType to choose data source
test updated to use LoaderType