attempts to fix tests
allow override for wavelength regexing, minor docstring