added test for optional user_token