Tests for loader