Adding basic testing framework

OH GOD WHY!