Modify Promise and test it.