Add testing framework and initial tests.