added unit-test