- finished functional tests;
- minor fix, related with raising exception of specific type.