added test for token validation, initiated pjax