isA calls assertArgumentNotNullOrUndefined

The first commit fixes issue #9. 

The second commit will fix issue #11.