addings tests, minor improvements/fixes, version update