Adapted pair case study to unit tests