test for prototype