Automating and Testing a REST API