setup postgres for testing purposes. figured out sqlalchemy commit bug. setup basic pretest and posttest pages