Adding dashboard tests and Capacity class in base.py