reps and test with mock & inject example