fix nvram test to not rely on line order

order of k/v pairs in nvram file is not important