Update gems
Handle errors correctly
Change to IPC based test