Test simple class