moved printer tests to tokenizer