Added unit test for tone_sequences

Minor other crap as well.