Test attaching to queued job