Fixed incorrect functional test
Merge pull request #361 from volaya/master

Fixed incorrect functional test