Added integration tests/framework for the REST API.