Added tests for WELD-1436.
Fixed WELD-1436.