Completed selftest and corrected preemption and tokenizer