bumped version 1.6.5,
improved test/Makefile