Add unit tests for code result.

Add script for updating unit test results.