added example unit test.