Class code testing