fix egg spec for tests