Prevent NPE when screenshot's test is not found.

Refs #54
Merge pull request #57 from square/jw/fix-base-class-npe

Prevent NPE when screenshot's test is not found.