Updated the tests/code to send back an array from the process method