unit testing - confirm