added a mock loader for test purposes