nvram support, some new tests