These tests are a bit hard to follow. Maybe splitting the tests in two instead of using a boolean parameter and then creating inner classes for the actions (with clear names) would make it more readable