update unit test to new 1.2 version
Merge pull request #84 from lku/fix/unittest

update unit test according to to new 1.2 version