test how to use fork