The test access double variables as individual uint32_t. This commit ensures that the correct uint32_t is accessed, based on CONFIG_BIG_ENDIAN. Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>