bumped version number to 1.0b4
infrastructure review
fixed tests makefile