Fix P2P test not correctly working and change PrintWriter out in favour of BufferedWriter
Measure time in nanoseconds since some results are lower than a millisecond