add class accessor tests