test: fixed typo and added test for prototype.constructor
test: fixed typo and added test for prototype.constructor

bzalasky/tcomb,rubengrill/tcomb,giogonzo/tcomb,bluespeckfinancial/tcomb,gcanti/tcomb,rubengrill/tcomb,gcanti/tcomb,jayphelps/tcomb,utaal/tcomb