add tests for parsing ::class constant