Tests covering generating attributes