use read_text_file instead of codecs in test_sound_classes