Add tests for build updateStatus