added assertions to global_atrributes.py