adding alphabet tests, fixing alphabet logic and fixing matches tests