Tests that data_after date_before and limit all work correctly