Add (very big) test-case for Cue::applySettings()

This is not as robust as perhaps it needs to be, but it does
cover each line of the applySettings routine.