class example for tdd