Safer class testing (less evaling)