add a test for void
minor tests improvements
compile with gcc
fix log2 computation on gcc