test pre-class