fixed for linux

testinput now fully representative
renamed files
added comments