Add constructor prototype test