Rename test function
When parsing type, expect a single '->' token