add warnings
complete coverage for __init__.py