Beginning of testing framework

Beginning of flask testing framework, right now it only really tests
database features