Added a test for prototype descriptor