Refactoring blade.py: improve interface of ctor
Refactoring tests