This works in tests