It looks like there is a lot of duplication between these 5 tests.  I would recommend extracting a couple of functions where it makes sense to reduce duplication.