Fix poll() bugs, added more tests
Version 0.8.6

Add truncate/ftruncate