added prototype unit test