make test work with dashes and underscores