Only build ivory-cli once for multiple tests

/cc @markhibberd