move configuration error not set test out of the realm block