added testing framework and a couple initial tests