We can avoid loads of code duplication in these tests since you are pretty much doing the same thing in the three of them and there's only one line that changes. Create please a function in this file that makes at least all the data generation and then it is called from each test.