added tests, updated version.