Added test for loader