Chain Testing

Added setup and teardown methods to go work with the test-env