update autotools configs for git
add TESTS