fix loader tests