use assertCount where possible in tests