add tests to limit capacity