Method for pre-analysis of input data added (CheckInputData). Now it is possible to work with Error() function, which return error code. Tests corrected according to changed error appearance.