example unit test and integration test