Added test framework.

This is bound to break in future. Can we move this out into the config file or at least to a constant on top of the file?