Add unit test for ns create