Added pre-allocation test for embedded, and remove tracing