overhaul test suite and clean-up some library methods
add CHANGES version history file