Add a copuple of random checks
Add minimal tests for has_attr