tests: added tests for loaders