add nui and tests