More test code; minor fixes to is.named() and documentation

1) New test code for assert-scalar.R and assertions.R
2) Changed is.named() so it uses `na.rm=TRUE`. See issue #19 
3) Documentation typo fixed
Can you stick with 4.0.2 please?