doc and tests fixes
add version to package __init__