Added test framework.

Same as before, this should be set via config file.