TST/BUG: raise AttributeError on is_scalar for null arrays
Merge pull request #119 from cpcloud/empty-attr-segfault

Fix attr access for empty arrays