Reworked test.py to framework.py and added light-hearted test.py