Added negative test for typed tokens