Update test

To run, chmod +x test && ./test