ticket:2 added unit-test