Running tests using REST API