Add tests for enqueuedAt attribute