Add a test for ::class syntax