check args and croak
shorten bless statement
add args test cases
Merge pull request #2 from myfinder/fix-argments-check

check args and croak