Add test framework.

Summary: