Added a basic testing framework.