adding test for loader