Initial test framework.

Adds initial test framework for unit testing.