fleshed in tests, updated documentation to current features