Transfer penalty

Add unit tests to test the effect of the transfer penalty