Fix includes so it compiles fine on FreeBSD
Remove test file