add class tests