Hydra::Helper::Nix::getMachines: add a test

Fix parsing breakage from #1003: assigning the lines to $lines broke chomp and the filters.

This test validates the parsing works as expected, and also fixes a minor bug where '-' in features isn't pruned, like in the C++ repo.

Created by  Graham Christensen  on October 23, 2021
QTZ6UUOMFFHMHEMZ2UKRHRZAITXO3WBCXAD3EGLRNKT52K7SANZAC
Change contents