unit testing - update2