Added test for prototypes.