refactor ns parsing
analyzer parse ns tests